package events
{
	import de.popforge.parameter.Parameter;
	
	import flash.events.Event;

	public class KnobEvent extends Event
	{
		public static const PARAMETER_UPDATED:String = "parameterUpdated";
		
		private var _parameter:Parameter;
		
		public function KnobEvent(type:String, value:Parameter, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			_parameter = value;
			super(type, bubbles, cancelable);
		}
		
		public function getParameter():Parameter
		{
			return _parameter;
		}
		
	}
}